package com.ch.swagger2.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author cj-ch
 * @date 2018/5/3 上午10:55
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel(value = "权限",description = "权限描述")
public class Component {

    @ApiModelProperty(value = "权限Id")
    private Long id;
    @ApiModelProperty(value = "权限名称")
    private String name;
}
